<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.imap.IMAPReply类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1imap_1_1IMAPReply.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1imap_1_1IMAPReply-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.imap.IMAPReply类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>IMAPReply记录IMAP回复代码常量。  
 <a href="classcommonsNet_1_1imap_1_1IMAPReply.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a421e0cfaeab561f05455a022055f3e60"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a421e0cfaeab561f05455a022055f3e60">getReplyCode</a> (line: String)</td></tr>
<tr class="memdesc:a421e0cfaeab561f05455a022055f3e60"><td class="mdescLeft">&#160;</td><td class="mdescRight">将有标签响应中的字符串回复代码（OK、NO、BAD）解释为整数。  <br /></td></tr>
<tr class="separator:a421e0cfaeab561f05455a022055f3e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae49970a4115de9ec11eba40102f2aa"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a1ae49970a4115de9ec11eba40102f2aa">getUntaggedReplyCode</a> (line: String)</td></tr>
<tr class="memdesc:a1ae49970a4115de9ec11eba40102f2aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">将无标签响应中的字符串回复代码（OK、NO、BAD）解释为整数。  <br /></td></tr>
<tr class="separator:a1ae49970a4115de9ec11eba40102f2aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9538d1be851375e09bcaddb4849874f2"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a9538d1be851375e09bcaddb4849874f2">isContinuation</a> (replyCode: Int64)</td></tr>
<tr class="memdesc:a9538d1be851375e09bcaddb4849874f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查回复行是否延续，即以"+"开头  <br /></td></tr>
<tr class="separator:a9538d1be851375e09bcaddb4849874f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a029218ac226f2990f96288222f6f484b"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a029218ac226f2990f96288222f6f484b">isContinuation</a> (line: String)</td></tr>
<tr class="memdesc:a029218ac226f2990f96288222f6f484b"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查回复行是否延续，即以"+"开头  <br /></td></tr>
<tr class="separator:a029218ac226f2990f96288222f6f484b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a4dd5fcd7b4847e531bd7999b95896"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#aa8a4dd5fcd7b4847e531bd7999b95896">isSuccess</a> (replyCode: Int64)</td></tr>
<tr class="memdesc:aa8a4dd5fcd7b4847e531bd7999b95896"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查回复代码是否表示成功  <br /></td></tr>
<tr class="separator:aa8a4dd5fcd7b4847e531bd7999b95896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc66a97c4f2b65228ba784ff5a97e986"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#acc66a97c4f2b65228ba784ff5a97e986">isUntagged</a> (line: String)</td></tr>
<tr class="memdesc:acc66a97c4f2b65228ba784ff5a97e986"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查回复行是否无标签，例如"* OK ..."  <br /></td></tr>
<tr class="separator:acc66a97c4f2b65228ba784ff5a97e986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f416d99a8ee61a81307aadb7b8e4f6a"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a4f416d99a8ee61a81307aadb7b8e4f6a">literalCount</a> (line: String)</td></tr>
<tr class="memdesc:a4f416d99a8ee61a81307aadb7b8e4f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查该行是否引入了内容，即以{dd}结尾  <br /></td></tr>
<tr class="separator:a4f416d99a8ee61a81307aadb7b8e4f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a635e49a0c903dd711f6a19f5ca319dc9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a635e49a0c903dd711f6a19f5ca319dc9">static let OK</a> = 0</td></tr>
<tr class="memdesc:a635e49a0c903dd711f6a19f5ca319dc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示操作成功的回复代码。  <br /></td></tr>
<tr class="separator:a635e49a0c903dd711f6a19f5ca319dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a7e9d4e3b20a82c0b590788b5b13dae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a1a7e9d4e3b20a82c0b590788b5b13dae">static let NO</a> = 1</td></tr>
<tr class="memdesc:a1a7e9d4e3b20a82c0b590788b5b13dae"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示操作失败的回复代码。  <br /></td></tr>
<tr class="separator:a1a7e9d4e3b20a82c0b590788b5b13dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac843ae1bc0132385df11d37ba36c5e19"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#ac843ae1bc0132385df11d37ba36c5e19">static let BAD</a> = 2</td></tr>
<tr class="memdesc:ac843ae1bc0132385df11d37ba36c5e19"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示命令被拒绝的回复代码。  <br /></td></tr>
<tr class="separator:ac843ae1bc0132385df11d37ba36c5e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35dfedcfd126a1b2eaa42c5e0655b133"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a35dfedcfd126a1b2eaa42c5e0655b133">static let CONT</a> = 3</td></tr>
<tr class="memdesc:a35dfedcfd126a1b2eaa42c5e0655b133"><td class="mdescLeft">&#160;</td><td class="mdescRight">指示继续命令的回复代码。  <br /></td></tr>
<tr class="separator:a35dfedcfd126a1b2eaa42c5e0655b133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b151ed093384a7d30fb2c912ced08ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a3b151ed093384a7d30fb2c912ced08ae">static let PARTIAL</a> = 3</td></tr>
<tr class="memdesc:a3b151ed093384a7d30fb2c912ced08ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示部分响应的回复代码。当注册了一个块侦听器并且侦听器请求清除回复行时，会返回此选项。  <br /></td></tr>
<tr class="separator:a3b151ed093384a7d30fb2c912ced08ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a578049ae2d8ba5a139a356e88dbe54c3"><td class="memItemLeft" align="right" valign="top">private static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a578049ae2d8ba5a139a356e88dbe54c3">getReplyCode</a> (line: String, pattern: Regex): Int64</td></tr>
<tr class="separator:a578049ae2d8ba5a139a356e88dbe54c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a8341430c9f53647cd691bc430d869fe1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a8341430c9f53647cd691bc430d869fe1">static let IMAP_OK</a> = &quot;OK&quot;</td></tr>
<tr class="memdesc:a8341430c9f53647cd691bc430d869fe1"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示操作成功的IMAP回复字符串。  <br /></td></tr>
<tr class="separator:a8341430c9f53647cd691bc430d869fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c5156d371b2eb99ca5b83096c760a6f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a7c5156d371b2eb99ca5b83096c760a6f">static let IMAP_NO</a> = &quot;NO&quot;</td></tr>
<tr class="memdesc:a7c5156d371b2eb99ca5b83096c760a6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示操作失败的IMAP回复字符串。  <br /></td></tr>
<tr class="separator:a7c5156d371b2eb99ca5b83096c760a6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ecb0e91ac2af19f38f3b37afef30848"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a2ecb0e91ac2af19f38f3b37afef30848">static let IMAP_BAD</a> = &quot;BAD&quot;</td></tr>
<tr class="memdesc:a2ecb0e91ac2af19f38f3b37afef30848"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示命令拒绝的IMAP回复字符串。  <br /></td></tr>
<tr class="separator:a2ecb0e91ac2af19f38f3b37afef30848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b10acc06b41c701464d85a3662fa7e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a63b10acc06b41c701464d85a3662fa7e">static let IMAP_UNTAGGED_PREFIX</a> = &quot;* &quot;</td></tr>
<tr class="separator:a63b10acc06b41c701464d85a3662fa7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a289163223a2a8bdba736dd4dbdb91bdb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a289163223a2a8bdba736dd4dbdb91bdb">static let IMAP_CONTINUATION_PREFIX</a> = &quot;+&quot;</td></tr>
<tr class="separator:a289163223a2a8bdba736dd4dbdb91bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affa1a5e7ac8727b4d2aa113ed5feee50"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#affa1a5e7ac8727b4d2aa113ed5feee50">static let TAGGED_RESPONSE</a> = &quot;^\\w+ (\\S+).*&quot;</td></tr>
<tr class="separator:affa1a5e7ac8727b4d2aa113ed5feee50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af74abc25d84c1e8afa06110ad8b203d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#af74abc25d84c1e8afa06110ad8b203d7">static let TAGGED_PATTERN</a> = Regex(TAGGED_RESPONSE)</td></tr>
<tr class="separator:af74abc25d84c1e8afa06110ad8b203d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63483f119ab5654cda5a793b76444491"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#a63483f119ab5654cda5a793b76444491">static let UNTAGGED_RESPONSE</a> = &quot;^\\* (\\S+).*&quot;</td></tr>
<tr class="separator:a63483f119ab5654cda5a793b76444491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad119a80cb1c5f84f2bc77397c6d0a724"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#ad119a80cb1c5f84f2bc77397c6d0a724">static let UNTAGGED_PATTERN</a> = Regex(UNTAGGED_RESPONSE)</td></tr>
<tr class="separator:ad119a80cb1c5f84f2bc77397c6d0a724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9146343925cdf94007cfad405ff45e2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html#af9146343925cdf94007cfad405ff45e2">static let LITERAL_PATTERN</a> = Regex(&quot;\\{(\\d+)\\}$&quot;)</td></tr>
<tr class="separator:af9146343925cdf94007cfad405ff45e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>IMAPReply记录IMAP回复代码常量。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a421e0cfaeab561f05455a022055f3e60" name="a421e0cfaeab561f05455a022055f3e60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a421e0cfaeab561f05455a022055f3e60">&#9670;&#160;</a></span>getReplyCode() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.getReplyCode </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将有标签响应中的字符串回复代码（OK、NO、BAD）解释为整数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的有标签响应行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><code><a class="el" href="">OK</a></code> 或 <code><a class="el" href="">NO</a></code> 或 <code><a class="el" href="">BAD</a></code> 或 <code><a class="el" href="">CONT</a></code> </dd></dl>

</div>
</div>
<a id="a578049ae2d8ba5a139a356e88dbe54c3" name="a578049ae2d8ba5a139a356e88dbe54c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a578049ae2d8ba5a139a356e88dbe54c3">&#9670;&#160;</a></span>getReplyCode() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private static func commonsNet.imap.IMAPReply.getReplyCode </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>pattern</em>:&#160;</td>
          <td class="paramtype">Regex&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1ae49970a4115de9ec11eba40102f2aa" name="a1ae49970a4115de9ec11eba40102f2aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ae49970a4115de9ec11eba40102f2aa">&#9670;&#160;</a></span>getUntaggedReplyCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.getUntaggedReplyCode </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将无标签响应中的字符串回复代码（OK、NO、BAD）解释为整数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的无标签响应行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><code><a class="el" href="">OK</a></code> 或 <code><a class="el" href="">NO</a></code> 或 <code><a class="el" href="">BAD</a></code> 或 <code><a class="el" href="">CONT</a></code> </dd></dl>

</div>
</div>
<a id="a029218ac226f2990f96288222f6f484b" name="a029218ac226f2990f96288222f6f484b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a029218ac226f2990f96288222f6f484b">&#9670;&#160;</a></span>isContinuation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.isContinuation </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查回复行是否延续，即以"+"开头 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true如果响应行是延续 </dd></dl>

</div>
</div>
<a id="a9538d1be851375e09bcaddb4849874f2" name="a9538d1be851375e09bcaddb4849874f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9538d1be851375e09bcaddb4849874f2">&#9670;&#160;</a></span>isContinuation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.isContinuation </td>
          <td>(</td>
          <td class="paramname"><em>replyCode</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查回复行是否延续，即以"+"开头 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">replyCode</td><td>要检查的代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true如果响应是延续 </dd></dl>

</div>
</div>
<a id="aa8a4dd5fcd7b4847e531bd7999b95896" name="aa8a4dd5fcd7b4847e531bd7999b95896"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8a4dd5fcd7b4847e531bd7999b95896">&#9670;&#160;</a></span>isSuccess()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.isSuccess </td>
          <td>(</td>
          <td class="paramname"><em>replyCode</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查回复代码是否表示成功 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">replyCode</td><td>要检查的代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true如果代码等于{} </dd></dl>

</div>
</div>
<a id="acc66a97c4f2b65228ba784ff5a97e986" name="acc66a97c4f2b65228ba784ff5a97e986"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc66a97c4f2b65228ba784ff5a97e986">&#9670;&#160;</a></span>isUntagged()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.isUntagged </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查回复行是否无标签，例如"* OK ..." </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true如果是无标签的行 </dd></dl>

</div>
</div>
<a id="a4f416d99a8ee61a81307aadb7b8e4f6a" name="a4f416d99a8ee61a81307aadb7b8e4f6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f416d99a8ee61a81307aadb7b8e4f6a">&#9670;&#160;</a></span>literalCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func commonsNet.imap.IMAPReply.literalCount </td>
          <td>(</td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查该行是否引入了内容，即以{dd}结尾 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line</td><td>要检查的行 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>内容长度，没有内容时返回-1 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ac843ae1bc0132385df11d37ba36c5e19" name="ac843ae1bc0132385df11d37ba36c5e19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac843ae1bc0132385df11d37ba36c5e19">&#9670;&#160;</a></span>static let BAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let BAD = 2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>表示命令被拒绝的回复代码。 </p>

</div>
</div>
<a id="a35dfedcfd126a1b2eaa42c5e0655b133" name="a35dfedcfd126a1b2eaa42c5e0655b133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35dfedcfd126a1b2eaa42c5e0655b133">&#9670;&#160;</a></span>static let CONT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let CONT = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>指示继续命令的回复代码。 </p>

</div>
</div>
<a id="a2ecb0e91ac2af19f38f3b37afef30848" name="a2ecb0e91ac2af19f38f3b37afef30848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ecb0e91ac2af19f38f3b37afef30848">&#9670;&#160;</a></span>static let IMAP_BAD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let IMAP_BAD = &quot;BAD&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>表示命令拒绝的IMAP回复字符串。 </p>

</div>
</div>
<a id="a289163223a2a8bdba736dd4dbdb91bdb" name="a289163223a2a8bdba736dd4dbdb91bdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a289163223a2a8bdba736dd4dbdb91bdb">&#9670;&#160;</a></span>static let IMAP_CONTINUATION_PREFIX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let IMAP_CONTINUATION_PREFIX = &quot;+&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7c5156d371b2eb99ca5b83096c760a6f" name="a7c5156d371b2eb99ca5b83096c760a6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c5156d371b2eb99ca5b83096c760a6f">&#9670;&#160;</a></span>static let IMAP_NO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let IMAP_NO = &quot;NO&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>表示操作失败的IMAP回复字符串。 </p>

</div>
</div>
<a id="a8341430c9f53647cd691bc430d869fe1" name="a8341430c9f53647cd691bc430d869fe1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8341430c9f53647cd691bc430d869fe1">&#9670;&#160;</a></span>static let IMAP_OK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let IMAP_OK = &quot;OK&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>表示操作成功的IMAP回复字符串。 </p>

</div>
</div>
<a id="a63b10acc06b41c701464d85a3662fa7e" name="a63b10acc06b41c701464d85a3662fa7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63b10acc06b41c701464d85a3662fa7e">&#9670;&#160;</a></span>static let IMAP_UNTAGGED_PREFIX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let IMAP_UNTAGGED_PREFIX = &quot;* &quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af9146343925cdf94007cfad405ff45e2" name="af9146343925cdf94007cfad405ff45e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9146343925cdf94007cfad405ff45e2">&#9670;&#160;</a></span>static let LITERAL_PATTERN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let LITERAL_PATTERN = Regex(&quot;\\{(\\d+)\\}$&quot;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1a7e9d4e3b20a82c0b590788b5b13dae" name="a1a7e9d4e3b20a82c0b590788b5b13dae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a7e9d4e3b20a82c0b590788b5b13dae">&#9670;&#160;</a></span>static let NO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let NO = 1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>表示操作失败的回复代码。 </p>

</div>
</div>
<a id="a635e49a0c903dd711f6a19f5ca319dc9" name="a635e49a0c903dd711f6a19f5ca319dc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a635e49a0c903dd711f6a19f5ca319dc9">&#9670;&#160;</a></span>static let OK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let OK = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>表示操作成功的回复代码。 </p>

</div>
</div>
<a id="a3b151ed093384a7d30fb2c912ced08ae" name="a3b151ed093384a7d30fb2c912ced08ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b151ed093384a7d30fb2c912ced08ae">&#9670;&#160;</a></span>static let PARTIAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let PARTIAL = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>表示部分响应的回复代码。当注册了一个块侦听器并且侦听器请求清除回复行时，会返回此选项。 </p>

</div>
</div>
<a id="af74abc25d84c1e8afa06110ad8b203d7" name="af74abc25d84c1e8afa06110ad8b203d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af74abc25d84c1e8afa06110ad8b203d7">&#9670;&#160;</a></span>static let TAGGED_PATTERN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let TAGGED_PATTERN = Regex(TAGGED_RESPONSE)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="affa1a5e7ac8727b4d2aa113ed5feee50" name="affa1a5e7ac8727b4d2aa113ed5feee50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affa1a5e7ac8727b4d2aa113ed5feee50">&#9670;&#160;</a></span>static let TAGGED_RESPONSE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let TAGGED_RESPONSE = &quot;^\\w+ (\\S+).*&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad119a80cb1c5f84f2bc77397c6d0a724" name="ad119a80cb1c5f84f2bc77397c6d0a724"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad119a80cb1c5f84f2bc77397c6d0a724">&#9670;&#160;</a></span>static let UNTAGGED_PATTERN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let UNTAGGED_PATTERN = Regex(UNTAGGED_RESPONSE)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a63483f119ab5654cda5a793b76444491" name="a63483f119ab5654cda5a793b76444491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63483f119ab5654cda5a793b76444491">&#9670;&#160;</a></span>static let UNTAGGED_RESPONSE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.imap.IMAPReply.static let UNTAGGED_RESPONSE = &quot;^\\* (\\S+).*&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/imap/<a class="el" href="imap__reply_8cj.html">imap_reply.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1imap.html">imap</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1imap_1_1IMAPReply.html">IMAPReply</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
